package com.kehutong.repair.dto;

import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

/**
 * 流程角色
 * 
 * @author liuzhen (liuxing521a@163.com)
 * @createTime 2020年7月2日下午8:19:16
 */
@Table("t_flow_role")
public class FlowRole extends Entity {

	private static final long serialVersionUID = 1734688661607403126L;

	protected FlowRole(String id) {
        super(id);
    }

    @Column(comment = "公司编号")
    private String companyNo;

    @Column(comment = "公司名称")
    private String companyName;

    @Column(comment = "角色名称")
    private String name;

    @JSONField(serialize=false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

	public String getCompanyNo() {
		return companyNo;
	}

	public void setCompanyNo(String companyNo) {
		this.companyNo = companyNo;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

}
